#include <bits/stdc++.h>
#define ll long long
using namespace std;
ll rd(){char c = getchar();ll f = 1,x = 0;
	while(!isdigit(c)){if(c == '-')f = -1;c = getchar();}
	while(isdigit(c))x = x * 10 + c - '0',c = getchar();
	return x * f;}

int main(){
	freopen("detect.in","r",stdin);
	freopen("detect.out","w",stdout);
	
	return 0;
}
